<header class="page-header">
  <nav class="breadcrumb">
    <ul>
      <li>
        <span class="sep">&#x0002f;</span>
        <a href={{href-to "vault.cluster.access.identity.aliases"}}>
          {{pluralize (humanize model.identityType)}}
        </a>
      </li>
    </ul>
  </nav>
  <div class="level">
    <div class="level-left">
      <h1 class="title is-3">
        {{model.name}}
      </h1>
    </div>
    <div class="level-right">
      <a href="{{href-to 'vault.cluster.access.identity.aliases.edit' model.id}}" class="button has-icon-right is-ghost is-compact" data-test-alias-edit-link=true>
        Edit {{lowercase (humanize model.identityType)}}
        {{i-con glyph="chevron-right" size=11}}
      </a>
    </div>
  </div>
</header>
<div class="box is-sideless is-fullwidth is-paddingless is-marginless">
  <nav class="tabs sub-nav">
    <ul>
      {{#each (tabs-for-identity-show model.identityType) as |tab|}}
        {{#link-to "vault.cluster.access.identity.aliases.show" model.id tab tagName="li"}}
          <a href={{href-to "vault.cluster.access.identity.aliases.show" model.id tab }}>
            {{capitalize tab}}
          </a>
        {{/link-to}}
      {{/each}}
    </ul>
  </nav>
</div>
{{component (concat 'identity/item-alias/alias-' section) model=model}}
